#include "menu.h"
#include "ui_menu.h"
#include <QDebug>


Menu::Menu(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::Menu)
{
    ui->setupUi(this);

}

Menu::~Menu()
{
    delete ui;
}

void Menu::on_gamepushButton_clicked()
{
    this->close();
    game *g =new game();
    g->show();
}
